package com.pmsystem.dao;

import com.pmsystem.pojo.WaterConsume;
import com.pmsystem.pojo.WaterConsumeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface WaterConsumeMapper {
    long countByExample(WaterConsumeExample example);

    int deleteByExample(WaterConsumeExample example);

    int deleteByPrimaryKey(Integer waterConsumeId);

    int insert(WaterConsume record);

    int insertSelective(WaterConsume record);

    List<WaterConsume> selectByExample(WaterConsumeExample example);

    WaterConsume selectByPrimaryKey(Integer waterConsumeId);

    int updateByExampleSelective(@Param("record") WaterConsume record, @Param("example") WaterConsumeExample example);

    int updateByExample(@Param("record") WaterConsume record, @Param("example") WaterConsumeExample example);

    int updateByPrimaryKeySelective(WaterConsume record);

    int updateByPrimaryKey(WaterConsume record);

    /**
     * 
     * <p>Title: findWaterConsume</p >  
     * <p>Description: 按一定条件查水表</p >  
     * @author 泽强
     * @param map
     */
	void findWaterConsume(Map<String, Object> map);
}